package com.fc.vo;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class VehicleIncomeVO {
    private String vehiclePlate;
    private BigDecimal totalIncome;   // 总收入
    private BigDecimal totalExpenses; // 总支出（成本）
    private BigDecimal profit;        // 净利润 = 收入 - 成本

    public VehicleIncomeVO() {
    }

    public VehicleIncomeVO(String vehiclePlate, BigDecimal totalIncome, BigDecimal totalExpenses, BigDecimal profit) {
        this.vehiclePlate = vehiclePlate;
        this.totalIncome = totalIncome;
        this.totalExpenses = totalExpenses;
        this.profit = profit;
    }
}
